﻿using System;
using System.Data;
using System.Web;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using AnyOffice.Components;
using AnyOffice.DAL;
namespace AnyOffice.general.system.gzzd
{
    public partial class index : ModulePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            DataTable table = new GzzdDao().SelectAll(base.Conn);
            if (table.Rows.Count == 0)
            {
                this.litMessage.Text = base.ShowMessage("无规章制度目录");
            }
            else
            {
                this.rptgzzd.DataSource = table;
                this.rptgzzd.DataBind();
            }
        }

    }
}
